package com.example.superoa.model.pojos;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the transfer_types database table.
 * 
 */
@Entity
@Table(name="transfer_types")
@NamedQuery(name="TransferType.findAll", query="SELECT t FROM TransferType t")
public class TransferType implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="transfertypes_id")
	private int transfertypesId;

	@Column(name="transfertypes_name")
	private String transfertypesName;

	//bi-directional many-to-one association to Transfer
	@ManyToOne
	@JoinColumn(name="Transfer_id")
	private Transfer transfer;

	public TransferType() {
	}

	public int getTransfertypesId() {
		return this.transfertypesId;
	}

	public void setTransfertypesId(int transfertypesId) {
		this.transfertypesId = transfertypesId;
	}

	public String getTransfertypesName() {
		return this.transfertypesName;
	}

	public void setTransfertypesName(String transfertypesName) {
		this.transfertypesName = transfertypesName;
	}

	public Transfer getTransfer() {
		return this.transfer;
	}

	public void setTransfer(Transfer transfer) {
		this.transfer = transfer;
	}

}